/*
 * Phase.cpp
 *
 *  Created on: 23 May 2011
 *      Author: allan
 */

#include "Phase.h"

Phase::Phase()
{}

const string Phase::GetName() const
{
	return solution->GetName();
}

const vector<string> Phase::GetSpecies() const
{
	return solution->GetSpecies();
}

const VectorXd Phase::MolarFractions(const VectorXd& n) const
{
	return solution->MolarFractions(n);
}

const VectorXd Phase::Concentrations(const VectorXd& n) const
{
	return solution->Concentrations(n);
}

const VectorXd Phase::ActivityCoefficients(double T, double P, const VectorXd& n) const
{
	return solution->ActivityCoefficients(T, P, n);
}

const VectorXd Phase::Activities(double T, double P, const VectorXd& n) const
{
	return solution->Activities(T, P, n);
}
